package com.openlab.callsystem.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.openlab.callsystem.entity.Business;
import com.openlab.callsystem.mapper.BusinessMapper;
import com.openlab.callsystem.service.BusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2021-11-14
 */
@Service
public class BusinessServiceImpl extends ServiceImpl<BusinessMapper, Business> implements BusinessService {
    @Autowired
    BusinessMapper businessMapper;
    @Override
    public List<Business> queryBusiness() {
        return businessMapper.query();
    }
}
